package cn.billy.serve.service.impl;

import cn.billy.serve.domain.ProductDetail;
import cn.billy.serve.mapper.ProductDetailMapper;
import cn.billy.serve.service.IProductDetailService;
import cn.billy.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author billy
 * @since 2022-07-21
 */
@Service
public class ProductDetailServiceImpl extends BaseServiceImpl<ProductDetail> implements IProductDetailService {

    @Autowired
    private ProductDetailMapper productDetailMapper;


    @Override
    public ProductDetail getProductId(Long id) {
        return productDetailMapper.getProductId(id);
    }
}
